package com.hitqz.robot.api.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author xupkun
 * @date 2024/6/13
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TicketsTask extends Model<TicketsTask> {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long serverTaskId;

    private Long ticketsId;

    private String content;

    private int status;

    private String templateClass;

    private String parseOrderParams;

    private String flowName;

    private Date createTime;

    private Date startTime;

    private Date finishTime;



    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTicketsId() {
        return ticketsId;
    }

    public void setTicketsId(Long ticketsId) {
        this.ticketsId = ticketsId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getTemplateClass() {
        return templateClass;
    }

    public void setTemplateClass(String templateClass) {
        this.templateClass = templateClass;
    }

    public String getParseOrderParams() {
        return parseOrderParams;
    }

    public void setParseOrderParams(String parseOrderParams) {
        this.parseOrderParams = parseOrderParams;
    }

    public String getFlowName() {
        return flowName;
    }

    public void setFlowName(String flowName) {
        this.flowName = flowName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public Long getServerTaskId() {
        return serverTaskId;
    }

    public void setServerTaskId(Long serverTaskId) {
        this.serverTaskId = serverTaskId;
    }


}
